UseLogServer
Boolean
Not specified
Purpose
The UseLogServer parameter, which must be used with the value of the LogServer parameter set to Console, specifies that logging output generated by JADE batch utilities (for example, from the jadclient, jadloadb, or jdbutilb executable) is redirected to the standard output (stdout).
This redirects all of your log output (for example, progress advice, notifications, and so on) to stdout so that batch wrapper scripts can capture output for redisplay, reformat, customized display, and so on.
If you do not specify the LogServer parameter value of Console or you specify false (the default) for this parameter, logging output is not directed to stdout. (If you want JADE log messages and application messages output to the display server, set the DisplayApplicationMessages parameter to true.)
Parameter is read when …
The node is next initialized; for example, when you restart the database server, application server, or the standard (fat) client.
Hint
You can also specify these parameters (with the preceding JadeLog.) as arguments on the command line of the batch utility, as shown in the following example.
jadloadb path=\system ini=\Jade\test\jade.ini schemaFile=\scm\test.scm JadeLog.UseLogServer=true JadeLog.LogServer=Console JadeLog.DisplayApplicationMessages=true
Batch utilities can use the specification of these parameters as arguments sin the command line of a JADE batch executable or in the [JadeLog] section to capture the jommsg.log output and application logging to a file by using the relevant operating system file redirection operators for standard output; for example:
>> log.out 2>&1
If you use this redirection mechanism, all output to all JADE log objects is logged to both the relevant log file and to standard output; that is, this mechanism captures output to jommsg.log, jomreorg.log, application logs, and so on.